/**
 * defaultErrors
 */

  var defaultErrors = {
      text: "该字段值不能为空",
      mobile: $._('error tel number'),
      url: $._("error website"),
      video: $._('error Video url'),
      empty: $._('field required'),
      nonDecimal: $._('field must be int'),
      color: $._("error hex color"),
      dateRange: "开始日期不能大于结束日期！",
      min: function (length){
          return "'"+$._('field length can not be less than')+"'" + length + "'"+$._('Character')+"'！";
      },
      max: function (length){
          return "'"+$._('field length can not be moren than')+"'" + length + "'"+$._('Character')+"'！";
      },
      shopperUrl: function (){
          return $._('Enter right website url')
      },
      Phone: function (){
          return $._('Please enter a valid phone number')
      },
      downAndUrl: function (){
          return $._('Please enter a valid Website')
      },
      downIosUrl: function (){
          return $._('Please enter a valid Website')
      },
      offset: function (range){
          return "'"+$._('filed can not be less than')+"'-" + range + "'"+$._("Or not more than")+"'" + range + "，"+$._("enter again")+"！";
      },
      rotate: function (range){
          return "'"+$._('filed can not be less than')+"'-" + range + "'"+$._("Or not more than")+"'" + range + "，"+$._("enter again")+"！";
      },
      size: function (min, max){
          return "'"+$._('filed can not be less than')+"'" + min + "'"+$._("Or more than")+"'" + max + "，"+$._("enter again")+"！";
      },
      opacity: function (min, max){
          return "该字段值不能小于\"" + min + "\"或者不能大于\"" + max + "\"，请重新输入！";
      }
  };

  module.exports = defaultErrors;
